<template>
  <div class="notify">
    {{ msg }}
    <van-loading type="spinner" size="24px" />
  </div>
</template>
<script>
export default {
  name: "notify",
  data() {
    return {
      msg: "推荐职位已经更新",
    };
  },
};
</script>
<style scoped>
.notify {
  width: 100%;
  height: 0.5rem;
  background: #14c1bb;
  text-align: center;
  line-height: 0.5rem;
  color: #fff;
  font-size: 0.21rem;
  position: absolute;
  top: 0.8rem;
  z-index: 10;
  animation: notify_show 0.5s;
  animation-delay: 1.5s;
  animation-fill-mode: forwards;
}

@keyframes notify_show {
  from {
    height: 0.5rem;
  }
  to {
    height: 0;
  }
}
</style>